﻿using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
using System.Threading;

namespace NetMicro.EventBus.Persistences
{
    /// <summary>
    /// 消息存储初始化器
    /// </summary>
    public interface IMessageStorageInitializer
    {
        /// <summary>
        /// 执行存储设施初始化
        /// </summary>
        /// <returns></returns>
        Task InitializeAsync(CancellationToken cancellationToken = default);
    }
}
